<template>
	<view class="line-text">
		添加
	</view>
</template>

<script setup>
	const props = defineProps({
		text: {
			type: String,
			default: ''
		},
		size: {
			type: Number,
			default: 14
		}
		
	})
</script>

<style lang="scss" scoped>
	.line-text{
		font-size: 12px;
		font-weight: bolder;
		position: relative;
		
		&::after {
			content: '';
			display: inline-block;
			width: 50px;
			height: 1px;
			background-color: #000;
			position: absolute;
			bottom: -4px;
			left: 50%;
			transform: translateX(-50%);
		}
	}

</style>